When I was trying to run the application I had faced this problem. I have resolved by setting webconfig. Under <system.webServer> tag set validateIntegratedModeConfiguration="false".
Problem:
HTTP Error500.23 - Internal Server Error
An ASP.NET setting has beendetected that does not apply in Integrated managed pipeline mode.
Mostlikely causes:
· This application defines configuration in thesystem.web/httpHandlers section.
Thingsyou can try:
· Migrate the configuration to the system.webServer/handlerssection. You can do so manually or by using AppCmd from the command line. Forexample, from the IIS Express install directory, runappcmd migrate config"Default Web Site/". Using AppCmd to migrate your applicationwill enable it to work in Integrated mode. It will continue to work in Classicmode and on previous versions of IIS.
· If you are certain that it is OK to ignore this error, it can bedisabled by setting system.webServer/validation@validateIntegratedModeConfigurationto false.
· Alternatively, switch the application to a Classic modeapplication pool. For example, from the IIS Express install directory, run appcmd set app "Default WebSite/" /applicationPool:"Clr4ClassicAppPool". Only do this ifyou are unable to migrate your application.
Solution:
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<remove name="ChartImageHandler"/>
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</handlers>
</system.webServer>
<system.web>
<httpHandlers>
<add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>
</system.web>
Post your comments / questions
Recent Article
- Requested setting INSTALLED_APPS, but settings are not configured. You must either define..
- ValueError:All arrays must be of the same length - Python
- Check hostname requires server hostname - SOLVED
- How to restrict access to the page Access only for logged user in Django
- Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default
- Add or change a related_name argument to the definition for 'auth.User.groups' or 'DriverUser.groups'. -Django ERROR
- Addition of two numbers in django python
- The request was aborted: Could not create SSL/TLS secure channel -Error in Asp.net
Related Article